package demo;

/**
 * @Author liangbaigao
 * @Date 2023/9/24 22:13
 */
public class Lazy {
    private Lazy(){}
    private static Lazy lazy;
    public static Lazy getInstance(){
        if (lazy == null){
            return lazy = new Lazy();
        }
        return lazy;
    }
}
